From 9877a6ae87c6a73176203d879cb4bb80478d1826 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Florian=20M=C3=BCllner?= Date: Sat, 14 Mar 2026 19:42:18 +0100 Subject: [PATCH] overview: Fix delayed grab when entering via gesture When showing the overview in response to a gesture update, we set the corresponding overview properties first before syncing the grab. However as we don't sync the grab while the overview is animating, we currently end up only taking the grab once the animation is complete. This is unintentional and messes with the expected keyboard focus, so only mark the animation as in progress after syncing the grab. Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/8967 Part-of: --- js/ui/overview.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/ui/overview.js b/js/ui/overview.js index d3d64ae71..da3427b8f 100644 --- a/js/ui/overview.js +++ b/js/ui/overview.js @@ -364,7 +364,6 @@ export class Overview extends Signals.EventEmitter { this._shown = true; this._visible = true; this._visibleTarget = true; - this._animationInProgress = true; Main.layoutManager.overviewGroup.set_child_above_sibling( this._coverPane, null); @@ -373,6 +372,8 @@ export class Overview extends Signals.EventEmitter { Main.layoutManager.showOverview(); this._syncGrab(); + + this._animationInProgress = true; } this._overview.controls.gestureProgress(progress); -- 2.39.5